devops: Add tests to release workflow before package creation#128
Merged
brandonh-msft merged 4 commits intomainfrom Aug 1, 2025
Merged
devops: Add tests to release workflow before package creation#128brandonh-msft merged 4 commits intomainfrom
brandonh-msft merged 4 commits intomainfrom
Conversation
Co-authored-by: brandonh-msft <20270743+brandonh-msft@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Run tests as part of release process
Add tests to release workflow before package creation
Jul 31, 2025
Run tests on all supported frameworks not just net9
SergeyMenshykh
approved these changes
Aug 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR integrates automated testing into the release workflow to ensure code quality before creating and publishing NuGet packages.
Changes Made
Added a test step to the
build-all-configsjob in.github/workflows/release.yamlthat runs between the build and pack operations:Impact
The release workflow now follows this sequence:
This ensures that:
build-packagedepends onbuild-all-configs) means failed tests will halt the entire release pipelineThe test command uses
--no-buildfor efficiency since the code was just built, and--framework net9.0to ensure compatibility with the CI environment.Fixes #122.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.